#!/bin/bash
###################################################################################################
# 
#		Just install useful softwares...
# 		This file is copied from Panfeng.Li. You can also add some user command when needed.
#		Please ensure the form correct!
#		# Any question, email to <isoledadcache@gmail.com> #
###################################################################################################

#sudo apt-get update

sudo apt-get install gcc g++ make gdb bison libc6 libc6-dev manpages manpages-posix manpages-dev manpages-posix-dev glibc-doc \
	subversion git-core gitk libncurses5 libncurses5-dev im-switch tree indent patch tar rar unzip unrar vim \
	minicom putty tftp  vsftpd wget smbfs cramfsprogs cscope  meld sharutils ssh perl bash python automake\
	soundconverter gawk sed stardict sl samba samba-tools samba4-clients iptux fcitx-pinyin im-switch wine -y


# filezilla vim-gnome iptux kchmviewer gdebi
# bluefish sqlite3 sqlite3-doc libsqlite3-0 libsqlite3-dev lftp atftp atftpd nfs-kernel-server openssh-client openssh-server gimp thunderbird
# gparted transmission-cli shotwell

sudo apt-get autoremove
sudo apt-get autoclean

#install stardict
#oxford
wget -P ~/Downloads/ http://abloz.com/huzheng/stardict-dic/zh_CN/stardict-oxford-gb-2.4.2.tar.bz2
wget -P ~/Downloads/ http://abloz.com/huzheng/stardict-dic/zh_CN/stardict-DrEye4in1-2.4.2.tar.bz2
wget -P ~/Downloads/ http://abloz.com/huzheng/stardict-dic/zh_CN/stardict-langdao-ec-gb-2.4.2.tar.bz2
wget -P ~/Downloads/ http://abloz.com/huzheng/stardict-dic/zh_CN/stardict-langdao-ce-gb-2.4.2.tar.bz2
wget -P ~/Downloads/ http://abloz.com/huzheng/stardict-dic/zh_CN/stardict-kdic-computer-gb-2.4.2.tar.bz2
wget -P ~/Downloads/ http://abloz.com/huzheng/stardict-dic/zh_CN/stardict-guojibiaozhunhanzidacidian-2.4.2.tar.bz2
wget -P ~/Downloads/ http://abloz.com/huzheng/stardict-dic/zh_CN/stardict-ProECCE-2.4.2.tar.bz2

tar -xvf ~/Downloads/stardict-* 
sudo mv ~/Downloads/stardict-* /usr/share/stardict/dic/
echo "finished install stardict"



